﻿using System;
using System.Collections.Generic;

namespace Disco.Ontology
{
    public class User : EntityBase
    {
        public string Alias { get; set; }
        public string Token { get; set; }

        public long OriginId { get; set; }
        public virtual Origin Origin { get; set; }

        public virtual ICollection<GroupMembership> Memberships { get; set; }

        public User()
        {
            Memberships = new List<GroupMembership>();
        }
    }
}
